package com.olympus.hermes.storage.service;

import com.olympus.hermes.common.service.AbstractService;
import com.olympus.hermes.common.support.PageRequest;
import com.olympus.hermes.storage.repo.StorageRepo;
import lombok.AllArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

/**
 * @author Mickey
 * @since 2021/2/20
 */
@Service
@AllArgsConstructor
public class StorageService extends AbstractService {

    private final StorageRepo storageRepo;

    public void create() {

    }

    public Page list(PageRequest pageRequest) {
        storageRepo.findAll(pageRequest);
        return null;
    }

    public void delete() {

    }

    public void update() {

    }

}
